﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Microsoft.Practices.Unity;

namespace Skynet.C2SModule.Views.CreateBook
{
    /// <summary>
    /// Interaction logic for CreateBookView.xaml
    /// </summary>
    public partial class CreateBookView : UserControl,  ICreateBookView
    {
        //private Presenters.CreateBookPresenter _Presenter;

        //[Dependency]
        //public Presenters.CreateBookPresenter Presenter
        //{
        //    get { return _Presenter; }
        //    set { 
        //        _Presenter = value;
        //        _Presenter.View = this;
        //        this.DataContext = value;
        //    }
        //}

        
        public CreateBookView()
        {
            InitializeComponent();
        }

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
         //   this.Presenter.OnViewReady();
        }

        private void btnClose_Click(object sender, RoutedEventArgs e)
        {
           // this.Presenter.OnViewClose();
        }

        private void btnSave_Click(object sender, RoutedEventArgs e)
        {
            //this.Presenter.SaveBook();

        }
    }
}
